package com.nervenets.web.controller;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.Positive;

@EqualsAndHashCode(callSuper = true)
@Data
public class IdTokenParams extends TokenParams {
    @ApiModelProperty(value = "目标ID", required = true)
    @Positive(message = "目标ID必须为正整数")
    private long targetId;
}
